class MessageController < ApplicationController
	
	def initialize
		puts 'new message controller initialized'
	end
		
	def msg_display
		content = ''
		newl=LoginController.session[:sess]
		for m in newl.throw	
			content+=("<p><b>"+m.from.to_s()+"</b>" +" Says: "+m.body+"</p>")
		end
			render_text "#{content}"
	end
	
end
